package com.duobaoyu.dby.supply.biz.service.config;

import com.duobaoyu.dby.supply.common.biz.bo.config.BalanceWarnBO;
import com.duobaoyu.dby.supply.common.biz.dto.config.BalanceWarnBatchDTO;
import com.duobaoyu.dby.supply.common.biz.dto.config.BalanceWarnDTO;

/**
 * @Author 001
 * @Date 2022/6/7 10:43
 * @Version 1.0
 * @Description
 */
public interface BalanceWarnService {

	/**
	 * 修改余额预警配置
	 * @param dto
	 * @return
	 */
	Boolean modify(BalanceWarnDTO balance);

	/**
	 * 批量更新配置
	 */
	Boolean batchSave(BalanceWarnBatchDTO balanceWarnBatch);

	/**
	 * 查询预警配置
	 */
	BalanceWarnBO queryBalanceWarn();
}
